package com.liqw.provider.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name="springcloud-provider")
public interface ProviderApi {
    @GetMapping("/sayProvider")
    public String sayProvider();

    @GetMapping("/sayProviderFallBack")
    public String sayProviderFallBack();

}
